<?php

$c=1;
 
$a=array(

$_SERVER['REDIRECT_STATUS'],
 
$_SERVER['REDIRECT_QUERY_STRING'],
 
$_SERVER['REDIRECT_URL']);
 
foreach ($a as $key=>$b) {
 
echo $c."----";
 
echo $b."<br>";
 
$c++;
 
}


?>